package main

import "fmt"

//类型别名
func main() {
	//给int64取个别名叫bigint
	type bigint int64
	var a bigint
	fmt.Printf("a type is %T\n", a)

	type (
		long int64
		char byte
	)

	var b long
	var c char
	b = 1024
	c = 'a'
	fmt.Printf("b=%v,c=%c", b, c)
}
